package com.xc.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.stereotype.Component;

import java.io.Serializable;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
@ApiModel
@Component
public class UserNavEntity implements Serializable, Cloneable{
    private Integer id;
    @ApiModelProperty(value = "用户ID")
    private Integer userId;
    @ApiModelProperty(value = "导航ID")
    private Integer navId;
    private Integer page;
    private Integer limit;
    @ApiModelProperty(value = "是否正常，1表示启用，-1表示禁用")
    private Integer enable;
}
